<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class crm_receive extends Model
{
    protected $table = 'crm_receive';

    public $timestamps = false;
    protected $fillable = ['receive_zhanghao','receive_date','receive_yshoukuan','receive_sshoukuan','receive_beizhu','receive_dealid','receive_yuangong','receive_type','receive_ima','receive_userid','receive_orderid','receive_xiaoxi'];
    public function crm_account()
    {
    	return $this->belongsTo('App\crm_account','receive_type', 'id');
    }
}
